import request from "@/utils/request";

// 获取主页 推荐 的视频
export const reqGetVideoAsync = (pageNum:number,pageSize:number = 5)=>{
    return request.get<null,any>(`http://zsjyyds.online:9000/apis/moment/moments/rec/default?access_token=c494ae44-3adc-48ca-8749-5128a53358d7&column=recommend&pageSize=${pageSize}&pageNum=${pageNum}`)
}
// 获取主页轮播图数据
export const reqGetSwiperAsync = ()=>{
    return request.get<null,any>(`http://zsjyyds.online:9000/apis/promotion/ads/search/findByPosition?access_token=c494ae44-3adc-48ca-8749-5128a53358d7&position=pc_mainpage`)
}
